package com.cchc.k8s.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.http.converter.json.GsonHttpMessageConverter;

/**
 * file：GsonConfig.java
 * description: GsonConfig 配置
 * date: 2021-09-22 11:02
 * author: FastJConfig
 * version: 1.0
 */
@Configuration
public class GsonConfig {
    @Bean
    public GsonHttpMessageConverter customConverters() {

        return new GsonHttpMessageConverter();
    }
}
